// vite.config.js
import { defineConfig } from "file:///D:/vite/node_modules/vite/dist/node/index.js";
import vue from "file:///D:/vite/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import AutoImport from "file:///D:/vite/node_modules/unplugin-auto-import/dist/vite.js";
import Components from "file:///D:/vite/node_modules/unplugin-vue-components/dist/vite.mjs";
import { ElementPlusResolver } from "file:///D:/vite/node_modules/unplugin-vue-components/dist/resolvers.mjs";
import { resolve } from "path";
import viteCompression from "file:///D:/vite/node_modules/vite-plugin-compression/dist/index.mjs";
var __vite_injected_original_dirname = "D:\\vite";
var vite_config_default = defineConfig({
  plugins: [
    vue(),
    AutoImport({
      resolvers: [ElementPlusResolver()],
      imports: ["vue", "vue-router", "vue-i18n", "@vueuse/head", "@vueuse/core"]
    }),
    Components({
      resolvers: [ElementPlusResolver()]
    }),
    viteCompression({
      threshold: 512e3
      // 对大于 0.5mb 的文件进行压缩
    })
  ],
  base: "./",
  resolve: {
    alias: {
      "@": resolve(__vite_injected_original_dirname, "src")
    }
  },
  server: {
    port: 8080,
    open: true
    // 项目启动后自动打开浏览器
  },
  build: {
    minify: "terser",
    terserOptions: {
      compress: {
        drop_console: true,
        drop_debugger: true
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFx2aXRlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFx2aXRlXFxcXHZpdGUuY29uZmlnLmpzXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ltcG9ydF9tZXRhX3VybCA9IFwiZmlsZTovLy9EOi92aXRlL3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVm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